home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / examples / depth_buffer / README < prev   
Encoding:
Text File  |  1996-11-11  |  1.3 KB  |  45 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees,
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8.       ~opengl1/examples/depth_buffer README
  9.  
  10.             Copyright 1991-1996, Silicon Graphics,  Inc.
  11.             Technical Education Development
  12.             All Rights Reserved.
  13.  
  14.  
  15.  
  16.    painter.c - demonstrate the painter's algorithm for correctly drawing 
  17.         non-intersecting objects and demonstrates how it fails
  18.         when object intersect.
  19.  
  20.     <r> Key         - rotate polygon around X axis
  21.     Escape Key      - exit the program
  22.  
  23.  
  24.    depth_buffer.c - draw a solid polygon that intersects the line grid
  25.          using the depth buffer to remove hidden surfaces.
  26.  
  27.     <r> Key         - rotate polygon around X axis
  28.     Escape Key      - exit the program
  29.  
  30.  
  31.    polygon_offset.c - uses the GL_EXT_polygon_offset extension to draw the 
  32.         tesselation for a sphere.
  33.  
  34.     <p> Key         - toggle polygon offset on / off
  35.     Escape Key      - exit the program
  36.  
  37.  
  38.    cullface.c - demonstrates front and back face culling
  39.  
  40.  
  41.     <f> Key     - toggle between front/back face culling
  42.     <r> Key     - rotate polygon around X axis
  43.     Escape Key      - exit the program
  44.  
  45.